]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Fix prev/next buttons to not skip months
authorAdel Gadllah <adel.gadllah@gmail.com>
Mon, 31 Jan 2011 20:00:16 +0000 (21:00 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Mon, 31 Jan 2011 20:31:17 +0000 (21:31 +0100)
commit8fea88879a42d248edbb107449aee7efad7fda15
treece6272a87152e89801f69598f54a1e9ff17a56b8
parentd9e778f501fa54bd3d886f4b984de0908a26235f
calendar: Fix prev/next buttons to not skip months

When the current day does not exist in the next/prev month (like 31 Feb),
the next/prev buttons end up skipping the month.

Fix that by going to the last day of the month instead.

https://bugzilla.gnome.org/show_bug.cgi?id=641067
js/ui/calendar.js